package main

import (
	"fmt"
	"github.com/gin-gonic/gin"
)

func push(c *gin.Context) {
	fmt.Println("push")
	params := c.Request.URL.Query()
	SN := params.Get("SN")
	c.Writer.Write([]byte(fmt.Sprintf("ServerVersion=3.0.1\nServerName=ADMS\nPushVersion=3.0.1\nErrorDelay=30\nRequestDelay=3\nTransTimes=00:0014:00\nTransInterval=1\nTransTables=User Transaction\nRealtime=1\nSessionID=%s\nTimeoutSec=10", Registtable[SN].Session)))
}
